package com.fulihui.wgj.dal.mybatis.mapper;

import com.fulihui.wgj.dal.mybatis.domain.WxPlatform;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface WxPlatformMapper extends Mapper<WxPlatform> {

    /**
     * 查询公众号信息
     *
     * @param loginId 登陆帐户
     * @return
     */
    List<WxPlatform> selectByLoginId(String loginId);

    /**
     * 查询公众号信息
     *
     * @param loginId
     * @param wxPlatform
     * @return
     */
    List<WxPlatform> selectByWhereAndLoginId(@Param("loginId") String loginId, @Param("wxPlatform") WxPlatform wxPlatform);
}